ungroup
{dplyr}
Resolve grouping created with “group_by”
geom_bar
{GGPLOT2}
Generates a bar chart
range
{base}
Return range of values
factor
{base}
Create a factor
ggplot
{GGPLOT2}
Create a ggplot graph
rm
{base}
Remove objects
max
{base}
Get maximum of a vector
head
{utils}
Show first 5 rows of a data frame
class
{base}
Retrieve class of an R object
filter
{dplyr}
Filter out rows of a data frame according to logical vector
hist
{graphics}
Plot a simple histogram
pie
{graphics}
Creates a basic pie chart
arrange
{dplyr}
Sort values of data frame according to a variable/combination of varaibles
ordered
{dplyr}
Create an ordered factor
cbind
{base}
Combine R objects by columns
summary
{base}
Obtain summary statistics or detailed regression output
slice
{dplyr}
Subset rows using their positions
var
{stats}
Calculate variance
group_by
{dplyr}
Group tibble/data.frame by a factor variable. All further tidyverse operations are performed group-wise
ifelse
{base}
Return a or b depending on the value of test
lprop
{questionr}
Display row percentages of a two-way frequency table
scale_x_continuous
{GGPLOT2}
Customise continuous x axis
library
{base}
Load an R package
cut
{base}
Convert Numeric to Factor
is.na
{base}
Check if a value is NA/elements of vector are NA
rbind
{base}
Combine R objects by rows
levels
{base}
Get levels of a factor
attach
{base}
Attach Set of R Objects to Search Path
subset
{base}
Return subsets of vectors, matrices or data frames which meet conditions.
ggtitle
{GGPLOT2}
Generates a title for a ggplot graph
mutate
{dplyr}
Modify/create a column in a data frame
sd
{stats}
Get standard deviation of a vector
plot
{graphics}
Generic function from base R to produce a plot
select
{dplyr}
Select columns from a tibble/data frame
sum
{base}
Get sum of numeric values or a vector
read.spss
{foreign}
Read a .sav file (SPSS data)
desc
{dplyr}
Arrange in descending order
mean
{base}
Get mean of a vector
geom_histogram
{GGPLOT2}
Generates a histogram
freq
{questionr}
Generate frequency tables
seq
{base}
Create a sequence
str
{utils}
Get the structure of an R object
names
{base}
Retrieve names of a list/vector
aes
{GGPLOT2}
Construct aesthetic mapping of a ggplot graph
setwd
{base}
Set Working Directory
table
{base}
Obtain frequency table of a variable/cross-tabulation of two variables
theme_classic
{GGPLOT2}
A minimalistic theme with no gridlines
boxplot
{graphics}
Plot a simple box plot
median
{stats}
Get median of a vector
labs
{GGPLOT2}
Customise labels in GGPLOT2
ls
{base}
Return a vector of character strings giving the names of the objects in the specified environment
c
{base}
Combine values/vectors into a vector
recode
{dplyr}
Recode a variable
install.packages
{base}
Install R package
summarise
{dplyr}
collapse the dataset to a summary statistic. Usually used with group_by()
read_excel
{readxl}
Read an Excel file
min
{base}
Get minimum of a vector
The end!